package models

type SysConfigCommission struct {
	Model
	UserCommissionPer               float64 `json:"user_commission_per" gorm:"type:decimal(10,2);comment:普通用户返佣"`
	VipCommissionPercentage         float64 `json:"vip_commission_percentage" gorm:"type:decimal(10,2);comment:VIP用户返佣"`
	SVipCommissionPercentage        float64 `json:"svip_commission_percentage" gorm:"type:decimal(10,2);comment:SVIP用户返佣"`
	MinWithdraw                     float64 `json:"min_withdraw" gorm:"type:decimal(10,2);comment:最低提现"`
	CommissionWithdraw              float64 `json:"commission_withdraw" gorm:"type:decimal(10,4);comment:提现手续费"`
	UserCommissionPerSpecial        float64 `json:"user_commission_per_special" gorm:"type:decimal(10,2);comment:特别普通用户返佣"`
	VipCommissionPercentageSpecial  float64 `json:"vip_commission_percentage_special" gorm:"type:decimal(10,2);comment:特别VIP用户返佣"`
	SVipCommissionPercentageSpecial float64 `json:"svip_commission_percentage_special" gorm:"type:decimal(10,2);comment:特别SVIP用户返佣"`
	UserCommissionCourseId          string  `json:"user_commission_course_id" gorm:"varchar(5000);comment:普通用户关联"`
	VipCommissionCourseId           string  `json:"vip_commission_course_id" gorm:"varchar(5000);comment:VIP用户关联"`
	SVipCommissionCourseId          string  `json:"svip_commission_course_id" gorm:"varchar(5000);comment:特别SVIP用户关联"`
	ControlBy
	ModelTime
}

func (SysConfigCommission) TableName() string {
	return "sys_config_commission"
}
